#!/bin/sh

gcc -c Log.c
gcc -c ErrorInfo.c
gcc -c RtspCmdLineDeal.c
gcc -c RtspServer.c
gcc -o RtspServer Log.o ErrorInfo.o RtspCmdLineDeal.o RtspServer.o
mv RtspServer ../bin/RtspServer
sudo chown root ../bin/RtspServer
sudo chmod u+s ../bin/RtspServer
